package cn.jizi.bshisy.service.impl;

import cn.jizi.bshisy.entity.Prescription;
import cn.jizi.bshisy.mapper.PrescriptionMapper;
import cn.jizi.bshisy.service.PrescriptionService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class PrescriptionServiceImpl implements PrescriptionService {

    @Resource
    private PrescriptionMapper prescriptionMapper;

    //添加一条处方表信息
    @Override
    public int getAddPrescr(Prescription prescription) {
        return prescriptionMapper.getAddPrescr(prescription);
    }
}
